package cn.ruc.dbiir.warn.entity;

import javax.lang.model.type.PrimitiveType;

public class WarnWater {

	private int node_id;
	private int node_disk_rate;
	private int node_mem_rate;
	private int node_cpu_rate;
//	private String warn_time;
	private int warn_code;
	public WarnWater(int node_id, int node_disk_rate, int node_mem_rate, int node_cpu_rate, int warn_code) {
		super();
		this.node_id = node_id;
		this.node_disk_rate = node_disk_rate;
		this.node_mem_rate = node_mem_rate;
		this.node_cpu_rate = node_cpu_rate;
		this.warn_code = warn_code;
	}
	public int getNode_id() {
		return node_id;
	}
	public void setNode_id(int node_id) {
		this.node_id = node_id;
	}
	public int getNode_disk_rate() {
		return node_disk_rate;
	}
	public void setNode_disk_rate(int node_disk_rate) {
		this.node_disk_rate = node_disk_rate;
	}
	public int getNode_mem_rate() {
		return node_mem_rate;
	}
	public void setNode_mem_rate(int node_mem_rate) {
		this.node_mem_rate = node_mem_rate;
	}
	public int getNode_cpu_rate() {
		return node_cpu_rate;
	}
	public void setNode_cpu_rate(int node_cpu_rate) {
		this.node_cpu_rate = node_cpu_rate;
	}
	public int getWarn_code() {
		return warn_code;
	}
	public void setWarn_code(int warn_code) {
		this.warn_code = warn_code;
	}
	
	
	
}
